package com.kgc.sportscircle.pojo;

import java.util.Date;
import java.io.Serializable;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

/**
* 描述：实体类
* @author 杨海文
* @date 2019/07/22
*/
public class Mallpayrecord implements Serializable {

   /**支付记录主键*/
    private Long id;
   /**订单表主键*/
    private Integer orderId;
   /**支付时间*/
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date paymentTime;
   /**用户表主键*/
    private String buyerId;
   /**发票金额*/
    private Double invoiceAmount;
   /***/
    private Integer tradeStatus;
   /***/
    private String tradeNo;
   /**总金额*/
    private Double totalAmount;
   /**收入金额*/
    private Double receiptAmount;
   /**买家支付金额*/
    private Double buyerPayAmount;
   /**税点*/
    private Double pointAmount;
   /**未定义1*/
    private Integer extension1;
   /**未定义2*/
    private String extension2;
   /**未定义3*/
    private String extension3;

    public Mallpayrecord(){}
    
    public Mallpayrecord(Long id,Integer orderId,Date paymentTime,String buyerId,Double invoiceAmount,Integer tradeStatus,String tradeNo,Double totalAmount,Double receiptAmount,Double buyerPayAmount,Double pointAmount,Integer extension1,String extension2,String extension3){
        this.id = id;
        this.orderId = orderId;
        this.paymentTime = paymentTime;
        this.buyerId = buyerId;
        this.invoiceAmount = invoiceAmount;
        this.tradeStatus = tradeStatus;
        this.tradeNo = tradeNo;
        this.totalAmount = totalAmount;
        this.receiptAmount = receiptAmount;
        this.buyerPayAmount = buyerPayAmount;
        this.pointAmount = pointAmount;
        this.extension1 = extension1;
        this.extension2 = extension2;
        this.extension3 = extension3;
    }

   /**获取支付记录主键属性的值*/
    public Long getId() {
        return this.id;
    }
   /**设置支付记录主键属性的值*/
    public void setId(Long id) {
        this.id = id;
    }
   /**获取订单表主键属性的值*/
    public Integer getOrderId() {
        return this.orderId;
    }
   /**设置订单表主键属性的值*/
    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }
   /**获取支付时间属性的值*/
    public Date getPaymentTime() {
        return this.paymentTime;
    }
   /**设置支付时间属性的值*/
    public void setPaymentTime(Date paymentTime) {
        this.paymentTime = paymentTime;
    }
   /**获取用户表主键属性的值*/
    public String getBuyerId() {
        return this.buyerId;
    }
   /**设置用户表主键属性的值*/
    public void setBuyerId(String buyerId) {
        this.buyerId = buyerId;
    }
   /**获取发票金额属性的值*/
    public Double getInvoiceAmount() {
        return this.invoiceAmount;
    }
   /**设置发票金额属性的值*/
    public void setInvoiceAmount(Double invoiceAmount) {
        this.invoiceAmount = invoiceAmount;
    }
   /**获取属性的值*/
    public Integer getTradeStatus() {
        return this.tradeStatus;
    }
   /**设置属性的值*/
    public void setTradeStatus(Integer tradeStatus) {
        this.tradeStatus = tradeStatus;
    }
   /**获取属性的值*/
    public String getTradeNo() {
        return this.tradeNo;
    }
   /**设置属性的值*/
    public void setTradeNo(String tradeNo) {
        this.tradeNo = tradeNo;
    }
   /**获取总金额属性的值*/
    public Double getTotalAmount() {
        return this.totalAmount;
    }
   /**设置总金额属性的值*/
    public void setTotalAmount(Double totalAmount) {
        this.totalAmount = totalAmount;
    }
   /**获取收入金额属性的值*/
    public Double getReceiptAmount() {
        return this.receiptAmount;
    }
   /**设置收入金额属性的值*/
    public void setReceiptAmount(Double receiptAmount) {
        this.receiptAmount = receiptAmount;
    }
   /**获取买家支付金额属性的值*/
    public Double getBuyerPayAmount() {
        return this.buyerPayAmount;
    }
   /**设置买家支付金额属性的值*/
    public void setBuyerPayAmount(Double buyerPayAmount) {
        this.buyerPayAmount = buyerPayAmount;
    }
   /**获取税点属性的值*/
    public Double getPointAmount() {
        return this.pointAmount;
    }
   /**设置税点属性的值*/
    public void setPointAmount(Double pointAmount) {
        this.pointAmount = pointAmount;
    }
   /**获取未定义1属性的值*/
    public Integer getExtension1() {
        return this.extension1;
    }
   /**设置未定义1属性的值*/
    public void setExtension1(Integer extension1) {
        this.extension1 = extension1;
    }
   /**获取未定义2属性的值*/
    public String getExtension2() {
        return this.extension2;
    }
   /**设置未定义2属性的值*/
    public void setExtension2(String extension2) {
        this.extension2 = extension2;
    }
   /**获取未定义3属性的值*/
    public String getExtension3() {
        return this.extension3;
    }
   /**设置未定义3属性的值*/
    public void setExtension3(String extension3) {
        this.extension3 = extension3;
    }
}
